package com.sitech.openapi.domain.ProductOrder;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

@ApiModel(value = "ChoiceOfferOrderItem", description = "可选包销售品订单项")
public class ChoiceOfferOrderItem implements Serializable {

    private static final long serialVersionUID = 1L;

    // 记录订单项标识。
    @ApiModelProperty(value = "订单项标识")
    private Long orderItemId;

    // 记录客户订单标识
    @ApiModelProperty(value = "客户订单标识")
    private Long custOrderId;

    // 引用资源ServiceOffer
    @ApiModelProperty(value = "服务提供标识")
    private ServiceOffer serviceOfferId;

    // 可填写虚拟ID，例如：-1
    @ApiModelProperty(value = "销售品对象标识")
    private Long offerInstId;

    // 销售品业务编码
    @ApiModelProperty(value = "销售品规格")
    private String offerNbr;

    // 引用资源OrdDevStaffInfo
    @ApiModelProperty(value = "订单-发展人信息")
    private OrdDevStaffInfo ordDevStaffInfo;

    // 引用资源ResInstRel
    @ApiModelProperty(value = "资源实例关系")
    private ResInstRel resInstRel;

    // 引用一组资源OrdOfferProdInstRel
    @ApiModelProperty(value = "订单-销售品产品实例关系")
    private List<OrdOfferProdInstRel> ordOfferProdInstRels;

    // 引用一组资源ChoiceOfferOrderItemAttr
    @ApiModelProperty(value = "可选包订单项属性")
    private List<ChoiceOfferOrderItemAttr> choiceOfferOrderItemAttrs;

    public Long getOrderItemId() {
        return orderItemId;
    }

    public void setOrderItemId(Long orderItemId) {
        this.orderItemId = orderItemId;
    }

    public Long getCustOrderId() {
        return custOrderId;
    }

    public void setCustOrderId(Long custOrderId) {
        this.custOrderId = custOrderId;
    }

    public ServiceOffer getServiceOfferId() {
        return serviceOfferId;
    }

    public void setServiceOfferId(ServiceOffer serviceOfferId) {
        this.serviceOfferId = serviceOfferId;
    }

    public Long getOfferInstId() {
        return offerInstId;
    }

    public void setOfferInstId(Long offerInstId) {
        this.offerInstId = offerInstId;
    }

    public String getOfferNbr() {
        return offerNbr;
    }

    public void setOfferNbr(String offerNbr) {
        this.offerNbr = offerNbr;
    }

    public OrdDevStaffInfo getOrdDevStaffInfo() {
        return ordDevStaffInfo;
    }

    public void setOrdDevStaffInfo(OrdDevStaffInfo ordDevStaffInfo) {
        this.ordDevStaffInfo = ordDevStaffInfo;
    }

    public ResInstRel getResInstRel() {
        return resInstRel;
    }

    public void setResInstRel(ResInstRel resInstRel) {
        this.resInstRel = resInstRel;
    }

    public List<OrdOfferProdInstRel> getOrdOfferProdInstRels() {
        return ordOfferProdInstRels;
    }

    public void setOrdOfferProdInstRels(List<OrdOfferProdInstRel> ordOfferProdInstRels) {
        this.ordOfferProdInstRels = ordOfferProdInstRels;
    }

    public List<ChoiceOfferOrderItemAttr> getChoiceOfferOrderItemAttrs() {
        return choiceOfferOrderItemAttrs;
    }

    public void setChoiceOfferOrderItemAttrs(List<ChoiceOfferOrderItemAttr> choiceOfferOrderItemAttrs) {
        this.choiceOfferOrderItemAttrs = choiceOfferOrderItemAttrs;
    }

    @Override
    public String toString() {
        return "ChoiceOfferOrderItem{" +
                "orderItemId=" + orderItemId +
                ", custOrderId=" + custOrderId +
                ", serviceOfferId=" + serviceOfferId +
                ", offerInstId=" + offerInstId +
                ", offerNbr='" + offerNbr + '\'' +
                ", ordDevStaffInfo=" + ordDevStaffInfo +
                ", resInstRel=" + resInstRel +
                ", ordOfferProdInstRels=" + ordOfferProdInstRels +
                ", choiceOfferOrderItemAttrs=" + choiceOfferOrderItemAttrs +
                '}';
    }
}
